#include "ShortDelay.h"
#include <stdio.h>
#include <time.h>


void Messen(int rep, double ys)
	{
	clock_t Start, End;

	Start = clock();
	for (int i = rep ; i > 0 ; i--)
		ShortDelay(ys);
	End = clock();

	printf("%d x %.1f ys = %d Ticks\n", rep, ys, End - Start);
	}


void main()
	{
	ShortDelayInit();
	Messen(1, 1E6);
	Messen(10, 1E5);
	Messen(100, 1E4);
	Messen(1000, 1E3);
	Messen(10000, 1E2);
	Messen(100000, 10.0);
	Messen(200000, 5.0);
	Messen(1000000, 1.0);
	}


